package com.yu.aop;

import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 
 * 用户user
 * @ClassName UserModel
 * @author <a href="mailto:903127441@qq.com" target="_blank">于鹏</a>
 * @date 2021年11月10日 上午7:53:31
 *
 */
@Data
@Component  // 注解表明该类会作为组件类，并告知Spring要为这个类创建bean
public class UserModel {
			
	private String name;
	private Integer age;
	private String content;
	
	public UserModel() {
		this.name = "小红";
		this.age = 12;
	}
	
	
	
	
	public UserModel(String name, Integer age) {
		super();
		this.name = name;
		this.age = age;
	}




	public UserModel(String name, Integer age, String content) {
		super();
		this.name = name;
		this.age = age;
		this.content = content;
	}
	
	
}
